// run: $exec < input
#include <iostream>
#include <algorithm>
#include <cstring>
#include <string>
#include <vector>

int const maxn = 1007;
char map[maxn][maxn];
int col[maxn], row[maxn];
int n, m;

int main()
{
	std::ios::sync_with_stdio(false);
	std::cin >> n >> m;
	int count = 0;
	for (int i = 1; i <= n; i++) {
		for (int j = 1; j <= m; j++) {
			std::cin >> map[i][j];
			count += (map[i][j] == '*');
			row[i] += (map[i][j] == '*');
		}
	}
	for (int j = 1; j <= m; j++)
		for (int i = 1; i <= n; i++)
			col[j] += map[i][j] == '*';

	for (int i = 1; i <= n; i++)
		for (int j = 1; j <= m; j++)
			if (row[i] + col[j] - (map[i][j] == '*') == count) {
				std::cout << "YES\n";
				std::cout << i << " " << j << "\n";
				return 0;
			}
	std::cout << "NO\n";
}

